package learn.spring.persistence.naming;

import org.springframework.context.annotation.*;

/**
 * @author suzheng
 * @version v.1.0
 */
@Configuration
//@Import(TestImportBeanDefinitionRegistrar.class)
//@ComponentScan("learn.spring.persistence.testScan")
public class TestNamingBeanConfig {

    @Bean(name = "testNamingBean")
    public TestNamingBean getTestNamingBean(){
        return new TestNamingBean();
    }
//    @Bean
//    public TestNamingBean getTestNamingBean1(){
//        return new TestNamingBean();
//    }
}
